<?php exit;?>
{if $zbp->Config('San_Rabbit')->guanyu}
<div class="widget gymk">	
	<div>
	{if $zbp->Config('San_Rabbit')->gybg}
		<img class="gybg" src="{$zbp->Config('San_Rabbit')->gybg}">
	{else}
		<img class="gybg" src="{$host}zb_users/theme/San_Rabbit/style/images/bg.jpg">
	{/if}	
		<a target="_blank" class="gyurl" href="{$host}">
			{if $zbp->Config('San_Rabbit')->gyav}
				<img class="gyimg" src="{$zbp->Config('San_Rabbit')->gyav}">
			{else}
				<img class="gyimg" src="{$host}zb_users/theme/San_Rabbit/style/images/77036.jpg">
			{/if}
		</a>
		<p class="gytitle">{$zbp->Config('San_Rabbit')->gyname}</p>
		<p class="gytext">{$zbp->Config('San_Rabbit')->gytext}</p>
		<ul class="ul">
			<li><span class="s1">{$zbp->cache->all_article_nums}</span><span>文章</span></li>
			<li><span class="s1">{$zbp->cache->all_view_nums}</span><span>阅读</span></li>
			<li class="last"><span class="s1">{$zbp->cache->all_comment_nums}</span><span>评论</span></li>
		</ul>       
	</div>
</div>
{/if}
{if $zbp->Config('San_Rabbit')->clsuo}
<div class="widget widget_searchpanel">
	<form name="search" method="post" action="{$host}zb_system/cmd.php?act=search">
		<input type="text" name="q" placeholder="输入关键词"/><button type="submit" class="submit" value="搜索"><i class="iconfont icon-sousuo6"></i></button>
	</form>
</div>
{/if}
{if $zbp->Config('San_Rabbit')->clremen}
	<div class="widget widget_hot">
		<h5>热门文章</h5><hr>
		<ul>
		{php}
      $order = array('log_ViewNums'=>'DESC');
      $where = array(array('=','log_Status','0'));
      $array = $zbp->GetArticleList(array('*'),$where,$order,array('10'),'');
     {/php}
		{foreach $array as $key=>$news}
			<li><i class="active-{$key+1}">{$key+1}</i><a href="{$news.Url}" target="_blank">{$news.Title}</a></li>
		 {/foreach}
		</ul>
	</div>
{/if}	
{if $zbp->Config('San_Rabbit')->clreping}
<div class="widget">
	<h5>热评文章</h5><hr>
	<ul>
	{php}
			  $order = array('log_CommNums'=>'DESC');
			  $where = array(array('=','log_Status','0'));
			  $array = $zbp->GetArticleList(array('*'),$where,$order,array('10'),'');
        {/php}
       {foreach $array as $newscomment}
		<li><a href="{$newscomment.Url}" target="_blank">{$newscomment.Title}</a></li>
		{/foreach}		
			</ul>
</div>
{/if}